package com.example.fistboot.recursion;

public class TwoTreeBean {
    public int var;
    public TwoTreeBean left;
    public TwoTreeBean right;

    public int getVar() {
        return var;
    }

    public void setVar(int var) {
        this.var = var;
    }

    public TwoTreeBean getLeft() {
        return left;
    }

    public void setLeft(TwoTreeBean left) {
        this.left = left;
    }

    public TwoTreeBean getRight() {
        return right;
    }

    public void setRight(TwoTreeBean right) {
        this.right = right;
    }

    public TwoTreeBean() {
    }

    public TwoTreeBean(int var, TwoTreeBean left, TwoTreeBean right) {
        this.var = var;
        this.left = left;
        this.right = right;
    }
}
